import request from '@/utils/request'

request.get('/api/xxx').then(res => { ... })